<!--
 * @Author: sunli
 * @Date: 2022-09-12 03:45:26
 * @LastEditors: sunli
 * @LastEditTime: 2023-12-28 13:44:02
 * @FilePath: /etrip-ui/src/pages/dateNav/demo.vue
 * @Description: 这是默认设置,请设置`cusomMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<script setup>
  import { DateNav, Indicator } from '../../../packages/lib/index'
  import { ref, watch } from 'vue'

  const change = (r) => {
    console.log(r)
  }
  </script>
  
  <template>
    <div style="background-color:#0074e4;">
      <DateNav defaultDate="2024-01-23"
        maxDate="2024-02-28" @change="change"></DateNav>
    </div>
    <br>
    <!-- <div style="background-color:#0074e4;">
      <DateNav :default-Date="new Date('2022-09-30').getTime()" @change="change"></DateNav>
    </div> -->
  </template>
  
  <style>
  </style>
  